﻿using ExpressesClass.IExpresses;

namespace ExpressesClass.Util
{
    public class GetIExpress
    {
        public static IExpress IGet(string kdCompanys)
        {
            switch (kdCompanys)
            {
                case "百世快递":
                    return new BestExpress();
                case "德邦快递":
                    return new DepponExpress();
                case "顺丰快递":
                    return new SfExpress();
                case "申通快递":
                    return new StoExpress();
                case "中通快递":
                    return new ZopExpress();
                case "跨越快递":
                    return new KyExpress();
                default:
                    return null;
            }
        }
    }
}
